package com.xiaobawang.xjsyy_idea_plugin.forest;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PipelineConfigVoFlow {
    private List<PipelineConfigVoFlowStage> stages;

    @Data
    public static class PipelineConfigVoFlowStage {
        private String name;
        private List<PipelineConfigVoFlowStageJob> jobs;

        public PipelineConfigVoFlowStage() {
            this.jobs = new ArrayList<>(5);
        }
    }

    @Data
    public static class PipelineConfigVoFlowStageJob {
        private String name;
    }
}
